<template>
	<view class="cart-item-elc" :class="'bg-' + themeColor.name"
		:style="{left: (cartItemElc && cartItemElc.left) + 'px',top: (cartItemElc && cartItemElc.top) + 'px'}" v-show="show">
	</view>
</template>

<script>
	export default {
		props: {
			show: {
				type: Boolean,
				default: false
			},
			cartItemElc: {
				type: Object,
				default: undefined
			}
		}
	}
</script>

<style lang="scss">
	.cart-item-elc {
		width: 15px;
		height: 15px;
		position: absolute;
		left: 0px;
		top: 0px;
		border-radius: 100%;
		z-index: 99;
	}
</style>
